package com.example.piece.ui.demo

import android.view.View
import androidx.databinding.ViewDataBinding
import com.therouter.router.Route
import com.example.piece.R
import com.example.piece.constant.RoutePath
import com.example.piece.databinding.TestActivityStatusBarPopBinding
import com.example.piece.ui.activity.Layer3Activity

/**
 * 结合popuwindow
 */
@Route(path = RoutePath.TESTActivity.STATUS_BAR_UTILS_TEST_POP)
class StatusBarTestPopActivity : Layer3Activity<TestActivityStatusBarPopBinding,ViewDataBinding>() {

    override val isTransparentStatusBar: Boolean = true
    override val isLockPortrait: Boolean = true
    override val statusBarAlpha: Int = 0
    override val isDarkMode: Boolean = true
    override val isFitsSystemWindows: Boolean = false
    override val leftIcon1Res: Int = R.drawable.ic_back
    override val centerLayoutRes: Int = R.layout.test_activity_status_bar_pop
    override val title: String
        get() = "结合popuwindow"

    override fun onClickLeftIcon1(view: View) {
        onBackPressed()

    }

}